package com.javaee6.liimp.dao;

import com.javaee6.liimp.model.Energencyplan;
import com.javaee6.liimp.model.EnergencyplanExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EnergencyplanMapper {
    long countByExample(EnergencyplanExample example);

    int deleteByExample(EnergencyplanExample example);

    int deleteByPrimaryKey(Integer planid);

    int insert(Energencyplan record);

    int insertSelective(Energencyplan record);

    List<Energencyplan> selectByExampleWithBLOBs(EnergencyplanExample example);

    List<Energencyplan> selectByExample(EnergencyplanExample example);

    Energencyplan selectByPrimaryKey(Integer planid);

    int updateByExampleSelective(@Param("record") Energencyplan record, @Param("example") EnergencyplanExample example);

    int updateByExampleWithBLOBs(@Param("record") Energencyplan record, @Param("example") EnergencyplanExample example);

    int updateByExample(@Param("record") Energencyplan record, @Param("example") EnergencyplanExample example);

    int updateByPrimaryKeySelective(Energencyplan record);

    int updateByPrimaryKeyWithBLOBs(Energencyplan record);

    int updateByPrimaryKey(Energencyplan record);
}